package me.spring.cloud.common.components.jest.mapper;

import org.springframework.data.domain.Page;
import me.spring.cloud.common.components.jest.internal.SearchScrollResult;

/**
 * Jest specific scroll result mapper.
 */
public interface JestScrollResultMapper {

	<T> Page<T> mapResults(SearchScrollResult response, Class<T> clazz);
}
